home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr05 / xnot12a.zip / NOTGNU.ST < prev    next >
Text File  |  1993-06-16  |  1KB  |  47 lines

  1. ;
  2. ; Startup file for notGNU emacs (notgnu.st).
  3. ; This form of file can be loaded at anytime using
  4. ; the extended command load-file.
  5. ;
  6. ; I like to make sure I don't edit a file in 2 places
  7. ; the default is NOT to check so this turns it on
  8. ;
  9. (toggle-check-file-timestamp)
  10. ;
  11. ; My UNIX machines hate to see my C source with all those
  12. ; dang CR in them (network shared disks) - default is CR
  13. ; is written for all files, this disables CR from being written
  14. ; into .c, .h, .cpp and .hpp files.
  15. ;
  16. (toggle-just-write-newline)
  17. ;
  18. ; Various keybindings to make me happy
  19. ;
  20. ; "\^x" is ctrl-x
  21. ; "\F1" is function key F1
  22. ; "\Eo" is meta-o (or ESC-o)
  23. ; "\Kp-+" is keypad +
  24.  
  25. (global-set-key "\F1" 'goto-line)
  26. (global-set-key "\F8" 'other-window)
  27. (global-set-key "\E+" 'enlarge-window)
  28. (global-set-key "\E-" 'shrink-window)
  29. (global-set-key "\^z" 'scroll-one-line-up)
  30. (global-set-key "\Ez" 'scroll-one-line-down)
  31. ;
  32. ; kinda matches VI % match function and gnu emacs
  33. ; ctrl-% match macro I defined
  34. ;
  35. (global-set-key "\E5" 'goto-match)
  36. (global-set-key "\^c" 'copy-region-as-kill)
  37. ;
  38. ; these at end since they will fail in DOS version
  39. ; because (1) shell-window is not a legal DOS command
  40. ; and (2) fkeys beyond 10 are not visible
  41. ;
  42. (global-set-key "\F2" 'shell-window)
  43. (global-set-key "\F9" 'make)
  44. (global-set-key "\F10" 'next-error)
  45. (global-set-key "\F12" 'undo-last-undoable)
  46.